class NewsTagLib {  
    def news = null;
    
     def getNextNews = {
        if (news == null) {
            news = new EmbeddedNewsMain();
        }
        out << news.getNextNews(session.login, session.password)
     }

  def newsLogout = {
        println "newsLogout"
    }
}
